package com.spring.dao.person;

import java.util.List;

import com.spring.bean.person.PersonBasic;
import com.spring.bean.page.Page;
import com.spring.bean.page.PageView;
import com.spring.exception.DaoException;

public interface PersonBasicDao {

	public boolean insert(PersonBasic personBasic) throws DaoException;

	public boolean update(PersonBasic personBasic) throws DaoException; 

	public boolean delete(Integer id) throws DaoException;

	public PersonBasic getById(Integer id) throws DaoException;

	public List<PersonBasic> queryForList() throws DaoException;

	public PageView<PersonBasic> queryForPage(Page page) throws DaoException;
}